package site.yunnong.atvris.portal.spider.baidu;

import com.geccocrawler.gecco.annotation.Href;
import com.geccocrawler.gecco.annotation.HtmlField;
import com.geccocrawler.gecco.annotation.Image;
import com.geccocrawler.gecco.annotation.Text;
import com.geccocrawler.gecco.spider.HtmlBean;
import lombok.Data;
import site.yunnong.atvris.portal.spider.AbstractVideoObject;

/**
 * @author zjh
 * @date 2021/8/31 11:36
 */
@Data
public class BaiduVideo extends AbstractVideoObject implements HtmlBean {
    
    @Href
    @HtmlField(cssPath = "a")
    private String href;
    
    @Image
    @HtmlField(cssPath = "img")
    private String imgUrl;
    
    @Text
    @HtmlField(cssPath = ".video_play_timer")
    private String videoTime;
    
    @Text
    @HtmlField(cssPath = ".video-title")
    private String videoTitle;

    @Text
    @HtmlField(cssPath = ".c-color-text")
    private String remark;

    @Text
    @HtmlField(cssPath = ".wetSource")
    private String source;
    
}
